<template>
	<view class="">
		<jyf-parser :html="content" ref="article" :tag-style="tagStyle"></jyf-parser>

	</view>
</template>

<script>
	import {
		getH5VillageDetail
	} from '@/api/togeterRich/family.js'

	import parser from "@/components/jyf-parser/jyf-parser";
	export default {
		components: {

			"jyf-parser": parser
		},

		onLoad(e) {
			this.id = e.id
			this.content=e.info
			
			// this.init()

		},
		data() {
			return {
				content: '',
				id: ''
			}
		},
		methods: {
			init() {
				let data = {
					id: this.id
				}
				getH5VillageDetail(data).then(res => {
					this.content = res.data.content
					return;
					res.data.map(ress => {
						if (ress.id == this.id) {

							// this.content = ress.info
						}

					})

				})

			},
		}

	}
</script>

<style>
</style>